std::array::end, std::array::cend
From Cppreference
| C++ Standard Library | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Containers library | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| std::array | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| iterator end();
| (C++0x feature) | |
| const_iterator end() const;
| (C++0x feature) | |
| const_iterator cend() const;
| (C++0x feature) | |
Returns an iterator to the element following the last element of the container. This element acts as a placeholder, attempting to access it results in undefined behavior.
Contents |
Parameters
(none)
Return value
iterator to the element following the last element
Complexity
constant
See also
| returns an iterator to the beginning (public member function) | |